<div class="panel_left span-5">

	<ul class="left_panel_actions">
		<li><a href="<?php echo site_url('admin/projects/create');?>" title="Create a new project">Add Project</a></li>
	</ul>

	<div id="left_panel_list_area">

		<h3>Project List</h3>

		<?php if (count($project_list) > 0): ?>
		<ul>
			<?php foreach($project_list as $proj): ?>
				<li><?php echo $proj->name; ?></li>
			<?php endforeach; ?>
		</ul>
		<?php else: ?>

			<p>There are no projects (yet)</p>
			
		<?php endif; ?>

	</div>

</div>

<div class="panel_right span-15 last">

	<h1>Project Management</h1>

	<div id="main_area">

		<?php if ($admin_page_section == 'create'): ?>

			<?php include(APPPATH . 'views/admin/projects/create.php'); ?>

		<?php elseif ($admin_page_section == 'update'): ?>

			<?php include(APPPATH . 'views/admin/projects/update.php'); ?>

		<?php elseif ($admin_page_section == 'delete'): ?>

			<?php include(APPPATH . 'views/admin/projects/delete.php'); ?>

		<?php else: ?>
		
			<p>Project Dashboard</p>
			<p>There are XX projects, XX tickets, XX users, etc...</p>

		<?php endif; ?>

	</div>

</div>